package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.domain.TransferRecord;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface TransferRecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(TransferRecord record);

    TransferRecord selectByPrimaryKey(Long id);

    List<TransferRecord> selectAll();

    int updateByPrimaryKey(TransferRecord record);

    /**
     * 分页
     * @param qo 查询参数
     */
    int queryForCount(QueryObject qo);

    List<TransferRecord> queryForList(QueryObject qo);
}